import request from '@/utils/request'

// 获取搜索条件
export function getQueryParams(data) {
  return request({
    url: '/biobank/general/getQueryParams',
    method: 'post',
    data: data
  })
}

// 搜索列表
export function queryList(data) {
  return request({
    url: '/biobank/general/queryList',
    method: 'post',
    data: data
  })
}

// 导出列表
export function exportSample(data) {
  return request({
    url: '/biobank/general/export',
    method: 'post',
    data: data
  })
}

// 模糊查询
export function fuzzyQuery(query) {
  return request({
    url: '/biobank/general/fuzzyQuery',
    method: 'get',
    params: query
  })
}
